package xin.homeant.framework.httpclient.model;

import xin.homeant.framework.httpclient.HttpClient;
import xin.homeant.framework.httpclient.HttpClientConfig;

/**
 * <P>
 * http 配置类
 * </P>
 * 
 * @author homeant homeanter@163.com
 * @Data 2017年5月20日 下午1:52:26
 */
public class HttpConfig {

    private final String userAgent;

    private HttpClientConfig httpClientConfig;
    private HttpClient httpClient;

    public HttpConfig(String userAgent, HttpClientConfig httpClientConfig,HttpClient httpClient) {
        this.userAgent = userAgent;
        this.httpClientConfig = httpClientConfig;
        this.httpClient = httpClient;
    }

    

    public String getUserAgent() {
        return userAgent;
    }

    public HttpClientConfig getHttpClientConfig() {
        return httpClientConfig;
    }

    public HttpClient getHttpClient() {
        return httpClient;
    }
}
